import { createApp } from 'vue'
// 从一个单文件组件中导入根组件
import App from './App.vue'
import router from './router/index.js'
import request from "./utils/request.js"
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import './assets/base.css'

const app = createApp(App)
app.use(ElementPlus)
app.use(router)


app.mount('#app')
app.config.globalProperties.$http=request;
app.config.globalProperties.domain=import.meta.env.VITE_DOMAIN_URL;